package com.peter.proxy.hkgolden.api;

import java.util.Date;

import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.map.annotate.JsonDeserialize;

import com.peter.framework.data.DataBase;

@SuppressWarnings("serial")
@JsonIgnoreProperties(ignoreUnknown = true)
public class Message extends DataBase {

	@JsonProperty(value = "Reply_ID")
	private Integer replyId;
	@JsonProperty(value = "Message_ID")
	private Integer messageId;
	@JsonProperty(value = "Author_Gender")
	private String authorGender;
	@JsonProperty(value = "Author_Name")
	private String authorName;
	@JsonProperty(value = "Message_Date")
	@JsonDeserialize(using = DateDeserializer.class)
	private Date messageDate;
	@JsonProperty(value = "Message_Body")
	private String messageBody;

	public Integer getReplyId() {
		return replyId;
	}

	public void setReplyId(Integer replyId) {
		this.replyId = replyId;
	}

	public Integer getMessageId() {
		return messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public String getAuthorGender() {
		return authorGender;
	}

	public void setAuthorGender(String authorGender) {
		this.authorGender = authorGender;
	}

	public String getAuthorName() {
		return authorName;
	}

	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

	public Date getMessageDate() {
		return messageDate;
	}

	public void setMessageDate(Date messageDate) {
		this.messageDate = messageDate;
	}

	public String getMessageBody() {
		return messageBody;
	}

	public void setMessageBody(String messageBody) {
		this.messageBody = messageBody;
	}

}
